package com.xiaoshuidi.cloud.module.contract.dal.dataobject.filings;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("contract_filings_log")
@Schema(description = "合同备案记录")
public class ContractFilingsLogDO extends TenantBaseDO implements Serializable {


    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long contractId;

    @Schema(description = "请求地址")
    private String url;

    @Schema(description = "请求状态, 1成功 2失败")
    private String status;

    @Schema(description = "请求json")
    private String sendJson;

    @Schema(description = "响应json")
    private String receiveJson;

    @Schema(description = "错误信息")
    private String errMsg;


}
